#pragma once
#include "EngineHead.h"
#include "UnitDerive.h"
#include "Device.h"
#include "Renderer.h"

namespace mini
{
	class CSkinRenderer : public CRenderer
	{
	public:
		CSkinRenderer(CDevice* pDevice);
		virtual ~CSkinRenderer();
		virtual void commitToGpu() override;
		virtual void addUnit(CUnit* pUnit, CMaterialUnit* pMaterialUnit, EntityType Type, INT32 zLayer)override;
		virtual void clearAllUnit() override; 
	};
}
